package bean;

import java.io.Serializable;

public class BankCustomer implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String userId;
	private float balance;
	
	public BankCustomer(String user) {
		userId = user;
		balance = 0;
	}
	
	public BankCustomer(String user, float b) {
		userId = user;
		balance = b;
	}
	
	public String getUserId() {
		return userId;
	}
	
	public void setBalance(float b) {
		balance = b;
	}
	
	public float getBalance() {
		return balance;
	}
	
	public float getUnsignedBalance() {
		return Math.abs(balance);
	}

}
